Optimal. Leaf size=194 \[ \frac{(f x)^{m+1} \left (\frac{2 c d-b e}{\sqrt{b^2-4 a c}}+e\right ) \, _2F_1\left (1,\frac{m+1}{2};\frac{m+3}{2};-\frac{2 c x^2}{b-\sqrt{b^2-4 a c}}\right )}{f (m+1) \left (b-\sqrt{b^2-4 a c}\right )}+\frac{(f x)^{m+1} \left (e-\frac{2 c d-b e}{\sqrt{b^2-4 a c}}\right ) \, _2F_1\left (1,\frac{m+1}{2};\frac{m+3}{2};-\frac{2 c x^2}{b+\sqrt{b^2-4 a c}}\right )}{f (m+1) \left (\sqrt{b^2-4 a c}+b\right )} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.298859, antiderivative size = 194, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 27, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.074, Rules used = {1285, 364} \[ \frac{(f x)^{m+1} \left (\frac{2 c d-b e}{\sqrt{b^2-4 a c}}+e\right ) \, _2F_1\left (1,\frac{m+1}{2};\frac{m+3}{2};-\frac{2 c x^2}{b-\sqrt{b^2-4 a c}}\right )}{f (m+1) \left (b-\sqrt{b^2-4 a c}\right )}+\frac{(f x)^{m+1} \left (e-\frac{2 c d-b e}{\sqrt{b^2-4 a c}}\right ) \, _2F_1\left (1,\frac{m+1}{2};\frac{m+3}{2};-\frac{2 c x^2}{b+\sqrt{b^2-4 a c}}\right )}{f (m+1) \left (\sqrt{b^2-4 a c}+b\right )} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 1285
Rule 364
Rubi steps
\begin{align*} \int \frac{(f x)^m \left (d+e x^2\right )}{a+b x^2+c x^4} \, dx &=\frac{1}{2} \left (e-\frac{2 c d-b e}{\sqrt{b^2-4 a c}}\right ) \int \frac{(f x)^m}{\frac{b}{2}+\frac{1}{2} \sqrt{b^2-4 a c}+c x^2} \, dx+\frac{1}{2} \left (e+\frac{2 c d-b e}{\sqrt{b^2-4 a c}}\right ) \int \frac{(f x)^m}{\frac{b}{2}-\frac{1}{2} \sqrt{b^2-4 a c}+c x^2} \, dx\\ &=\frac{\left (e+\frac{2 c d-b e}{\sqrt{b^2-4 a c}}\right ) (f x)^{1+m} \, _2F_1\left (1,\frac{1+m}{2};\frac{3+m}{2};-\frac{2 c x^2}{b-\sqrt{b^2-4 a c}}\right )}{\left (b-\sqrt{b^2-4 a c}\right ) f (1+m)}+\frac{\left (e-\frac{2 c d-b e}{\sqrt{b^2-4 a c}}\right ) (f x)^{1+m} \, _2F_1\left (1,\frac{1+m}{2};\frac{3+m}{2};-\frac{2 c x^2}{b+\sqrt{b^2-4 a c}}\right )}{\left (b+\sqrt{b^2-4 a c}\right ) f (1+m)}\\ \end{align*}
Mathematica [A] time = 0.268756, size = 156, normalized size = 0.8 \[ \frac{x (f x)^m \left (\left (d \sqrt{b^2-4 a c}-2 a e+b d\right ) \, _2F_1\left (1,\frac{m+1}{2};\frac{m+3}{2};\frac{2 c x^2}{\sqrt{b^2-4 a c}-b}\right )+\left (d \sqrt{b^2-4 a c}+2 a e-b d\right ) \, _2F_1\left (1,\frac{m+1}{2};\frac{m+3}{2};-\frac{2 c x^2}{b+\sqrt{b^2-4 a c}}\right )\right )}{2 a (m+1) \sqrt{b^2-4 a c}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.024, size = 0, normalized size = 0. \begin{align*} \int{\frac{ \left ( fx \right ) ^{m} \left ( e{x}^{2}+d \right ) }{c{x}^{4}+b{x}^{2}+a}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (e x^{2} + d\right )} \left (f x\right )^{m}}{c x^{4} + b x^{2} + a}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{{\left (e x^{2} + d\right )} \left (f x\right )^{m}}{c x^{4} + b x^{2} + a}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\left (f x\right )^{m} \left (d + e x^{2}\right )}{a + b x^{2} + c x^{4}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (e x^{2} + d\right )} \left (f x\right )^{m}}{c x^{4} + b x^{2} + a}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]